package com.qidianit.mes.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;


public class DeviceTypeVO {


        // 设备类型编码
        private String deviceTypeCode;

        // 设备类型名称
        private String deviceTypeName;

        // 是否启用
    private boolean isEnabled;
        // 备注字段
        private String remarks;

        // 是否为父类

         private boolean isParent;


    // 父类的编码
        private String parentCode;

        private int deviceTypeStatus;

        private List<DeviceTypeVO> children;// 子设备

    public DeviceTypeVO() {
    }

    public DeviceTypeVO(String deviceTypeCode, String deviceTypeName, boolean isEnabled, String remarks, boolean isParent, String parentCode, int deviceTypeStatus) {
        this.deviceTypeCode = deviceTypeCode;
        this.deviceTypeName = deviceTypeName;
        this.isEnabled = isEnabled;
        this.remarks = remarks;
        this.isParent = isParent;
        this.parentCode = parentCode;
        this.deviceTypeStatus = deviceTypeStatus;
    }

    public String getDeviceTypeCode() {
        return deviceTypeCode;
    }

    public void setDeviceTypeCode(String deviceTypeCode) {
        this.deviceTypeCode = deviceTypeCode;
    }

    public String getDeviceTypeName() {
        return deviceTypeName;
    }

    public void setDeviceTypeName(String deviceTypeName) {
        this.deviceTypeName = deviceTypeName;
    }

    public boolean isEnabled() {
        return isEnabled;
    }

    public void setEnabled(boolean enabled) {
        isEnabled = enabled;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public boolean isParent() {
        return isParent;
    }

    public void setParent(boolean parent) {
        isParent = parent;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public int getDeviceTypeStatus() {
        return deviceTypeStatus;
    }

    public void setDeviceTypeStatus(int deviceTypeStatus) {
        this.deviceTypeStatus = deviceTypeStatus;
    }

    public List<DeviceTypeVO> getChildren() {
        return children;
    }

    public void setChildren(List<DeviceTypeVO> children) {
        this.children = children;
    }

}

